package com.pearl.boot.rabbitmq;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/11/9
 */
@Component
public class HelloReceiver {

/*    @RabbitListener(queues = "directQueueError")
    public void process(String hello) {

    }*/

   @RabbitListener(queues = "lazy_queue888")
    public void process(Message message) {

    }
}
